package com.PDP.security.audit;

import com.PDP.model.Nameable;
import com.PDP.security.user.UserEntity;
import jakarta.persistence.Entity;
import jakarta.persistence.GeneratedValue;
import jakarta.persistence.Id;
import lombok.Data;

import java.util.ArrayList;
import java.util.Date;

@Data
@Entity
public class AuditionEntity {
    private Long userId;
    private String action;
    private String entity;
    @Id
    @GeneratedValue
    private Long id;
    private String name;
    private Date date= new Date();
    private String lastUserName;
}
